Optimal. Leaf size=46 \[ -\frac{256 \cos ^{13}(a+b x)}{13 b}+\frac{512 \cos ^{11}(a+b x)}{11 b}-\frac{256 \cos ^9(a+b x)}{9 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0672123, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {4288, 2565, 270} \[ -\frac{256 \cos ^{13}(a+b x)}{13 b}+\frac{512 \cos ^{11}(a+b x)}{11 b}-\frac{256 \cos ^9(a+b x)}{9 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4288
Rule 2565
Rule 270
Rubi steps
\begin{align*} \int \csc ^3(a+b x) \sin ^8(2 a+2 b x) \, dx &=256 \int \cos ^8(a+b x) \sin ^5(a+b x) \, dx\\ &=-\frac{256 \operatorname{Subst}\left (\int x^8 \left (1-x^2\right )^2 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{256 \operatorname{Subst}\left (\int \left (x^8-2 x^{10}+x^{12}\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac{256 \cos ^9(a+b x)}{9 b}+\frac{512 \cos ^{11}(a+b x)}{11 b}-\frac{256 \cos ^{13}(a+b x)}{13 b}\\ \end{align*}
Mathematica [B] time = 0.0982023, size = 104, normalized size = 2.26 \[ -\frac{5 \cos (a+b x)}{4 b}-\frac{25 \cos (3 (a+b x))}{48 b}+\frac{\cos (5 (a+b x))}{16 b}+\frac{\cos (7 (a+b x))}{8 b}+\frac{\cos (9 (a+b x))}{72 b}-\frac{3 \cos (11 (a+b x))}{176 b}-\frac{\cos (13 (a+b x))}{208 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 53, normalized size = 1.2 \begin{align*} 256\,{\frac{1}{b} \left ( -1/13\, \left ( \sin \left ( bx+a \right ) \right ) ^{4} \left ( \cos \left ( bx+a \right ) \right ) ^{9}-{\frac{4\, \left ( \sin \left ( bx+a \right ) \right ) ^{2} \left ( \cos \left ( bx+a \right ) \right ) ^{9}}{143}}-{\frac{8\, \left ( \cos \left ( bx+a \right ) \right ) ^{9}}{1287}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.05838, size = 108, normalized size = 2.35 \begin{align*} -\frac{99 \, \cos \left (13 \, b x + 13 \, a\right ) + 351 \, \cos \left (11 \, b x + 11 \, a\right ) - 286 \, \cos \left (9 \, b x + 9 \, a\right ) - 2574 \, \cos \left (7 \, b x + 7 \, a\right ) - 1287 \, \cos \left (5 \, b x + 5 \, a\right ) + 10725 \, \cos \left (3 \, b x + 3 \, a\right ) + 25740 \, \cos \left (b x + a\right )}{20592 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.523297, size = 104, normalized size = 2.26 \begin{align*} -\frac{256 \,{\left (99 \, \cos \left (b x + a\right )^{13} - 234 \, \cos \left (b x + a\right )^{11} + 143 \, \cos \left (b x + a\right )^{9}\right )}}{1287 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.8694, size = 335, normalized size = 7.28 \begin{align*} -\frac{4096 \,{\left (\frac{13 \,{\left (\cos \left (b x + a\right ) - 1\right )}}{\cos \left (b x + a\right ) + 1} - \frac{78 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} - \frac{572 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}} - \frac{3718 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} - \frac{7722 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{5}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{5}} - \frac{13728 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{6}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{6}} - \frac{12012 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{7}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{7}} - \frac{9009 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{8}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{8}} - \frac{3003 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{9}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{9}} - \frac{858 \,{\left (\cos \left (b x + a\right ) - 1\right )}^{10}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{10}} - 1\right )}}{1287 \, b{\left (\frac{\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1\right )}^{13}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]